package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;
import org.jsola.user.dto.UpdatePhoneDTO;

import javax.validation.constraints.NotNull;

/**
 * @author JanusMix
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "修改【当前登录用户手机号】的参数")
@Data
public class HrUpdatePhoneDTO extends UpdatePhoneDTO {

    @ApiModelProperty(notes = "修改前的手机号")
    @NotNull
    private String oldPhone;

}
